/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.domain;

import java.io.Serial;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.comac.ins.common.mybatis.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 数据库模板与模型配置的关联
 *
 * @author wujialin
 * @date 2024-12-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("isfd_database_modeling_template_config")
public class IsfdDatabaseModelingTemplateConfig extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 模板名称
     */
    private Long modelingConfigFieldId;

    /**
     * 模板描述
     */
    private Long templateId;

    /**
     * 表名
     */
    @ExcelProperty(value = "表名")
    private String tableName;

    /**
     * 字段名称
     */
    @ExcelProperty(value = "字段名称")
    private String fieldName;

    /**
     * 字段类型
     */
    @ExcelProperty(value = "字段类型")
    private String fieldType;

    /**
     * 字段描述
     */
    @ExcelProperty(value = "字段描述")
    private String fieldDescription;
}
